package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.SysCompeScoringDetails;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 评审员评分详情
 */
public interface SysCompeScoringDetailsMapper {

    @Select("select * from compe_scoring_details where scoring_id = #{scoring_id} and scid = #{scid}")
    public SysCompeScoringDetails queryByScoringId(SysCompeScoringDetails sysCompeScoringDetails);

    /**
     * 管理员根据赛事查询评分详情信息
     * @return
     */
    public List<SysCompeScoringDetails> querySysCompeScoringDetailsIsAdmin(SysCompeScoringDetails sysCompeScoringDetails);


    /**
     * 根据赛事查询评分详情信息
     * @return
     */
    public List<SysCompeScoringDetails> querySysCompeScoringDetails(SysCompeScoringDetails sysCompeScoringDetails);


    /**
     * 添加评分详情信息
     * @param sysCompeScoringDetails
     */
    public void saveSysCompeScoringDetails(SysCompeScoringDetails sysCompeScoringDetails);

    /**
     * 修改评分明细
     * @param sysCompeScoringDetails
     */
    public void updateSysCompeScoringDetails(SysCompeScoringDetails sysCompeScoringDetails);

}
